package com.ruoyi.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户地址管理对象 customer_addr
 * 
 * @author lzp
 * @date 2025-01-01
 */
public class CustomerAddr extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址编码 */
    private String addressId;

    /** 客户编码 */
    @Excel(name = "客户编码")
    private String customerId;

    /** 街道地址 */
    @Excel(name = "街道地址")
    private String streetAddress;

    /** 区 */
    @Excel(name = "区")
    private String district;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 州/省 */
    @Excel(name = "州/省")
    private String state;

    @Excel(name = "店铺名称")
    private String storeName;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String zipcode;

    /** 国家 */
    @Excel(name = "国家")
    private String country;

    /** 自提点 */
    @Excel(name = "自提点")
    private Integer isPickup;

    /** 收件人 */
    @Excel(name = "收件人")
    private String consignee;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    private  Integer isDefault;

    public void setAddressId(String addressId) 
    {
        this.addressId = addressId;
    }

    public String getAddressId() 
    {
        return addressId;
    }
    public void setCustomerId(String customerId) 
    {
        this.customerId = customerId;
    }

    public String getCustomerId() 
    {
        return customerId;
    }
    public void setStreetAddress(String streetAddress) 
    {
        this.streetAddress = streetAddress;
    }

    public String getStreetAddress() 
    {
        return streetAddress;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setZipcode(String zipcode) 
    {
        this.zipcode = zipcode;
    }

    public String getZipcode() 
    {
        return zipcode;
    }
    public void setCountry(String country) 
    {
        this.country = country;
    }

    public String getCountry() 
    {
        return country;
    }
    public void setIsPickup(Integer isPickup) 
    {
        this.isPickup = isPickup;
    }

    public Integer getIsPickup() 
    {
        return isPickup;
    }
    public void setConsignee(String consignee) 
    {
        this.consignee = consignee;
    }

    public String getConsignee() 
    {
        return consignee;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("customerId", getCustomerId())
            .append("streetAddress", getStreetAddress())
            .append("district", getDistrict())
            .append("city", getCity())
            .append("state", getState())
            .append("zipcode", getZipcode())
            .append("country", getCountry())
            .append("isPickup", getIsPickup())
            .append("consignee", getConsignee())
            .append("phone", getPhone())
            .toString();
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }
}
